package com.bluesimon.wbf;

/**
 * Created by Django on 2017/7/16.
 */
public class Response<T> {

    public static final String OK = "200";

    private String code = "200";

    private String message;

    private T data;

    public Response() {
    }

    public Response(T vdata) {
        this.data = vdata;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
